package com.itheima.mapper;

import com.itheima.jopo.Classes;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

/**
 * ClassesMapper
 *
 * @author liliudong
 * @version 1.0
 * @description 班级Mapper
 * @date 2023/5/1 10:52
 */
@Mapper
public interface ClassesMapper {

    void insert(Classes classes);

    void deleteById(Integer id);

    void updateById(Classes classes);

    Classes selectById(Integer id);

    List<Classes> selectList(String name, LocalDate begin, LocalDate end);

    Integer selectCount(Classes classes);
}
